import { BusinessEntity, collectionName } from "@atinc/chaos/repository";
import { required } from "@atinc/chaos/repository/entities/required-hint";

@collectionName("user")
export class UserEntity extends BusinessEntity {

    @required()
    password: string;

    username: string;

    sex: Sex;

}

export enum Sex {
    MALE,
    FEMALE
}
